<?php
	error_reporting(E_ALL);
	ini_set('display_errors', '1');
	include('DB.class.php');
	include('functions.php');
	
	$id=$_GET["id"];
	
	$patient = DB::getInstance()->getPatientWithID($id);
	
  echo "                      <li>";
  echo "                        <table>";
  echo "                          <tr><td width='60px'><p>Name</p></td><td>" . $patient['patientVorname'] . " " . $patient['patientNachname'] . "</td></tr>";
  echo "                          <tr><td><p>Adresse</p></td><td>" . $patient['patientStrasse'] . "</td></tr>";
  echo "                          <tr><td><p></p></td><td>" . $patient['patientPLZ'] . " " . $patient['patientOrt'] . "</td></tr>";
  echo "                        </table>";
  echo "                      </li>";
  echo "                      <li>";
  echo "                        <table>";
  echo "                          <tr><td width='60px'><p>Privat</p></td><td>" . $patient['patientTelefonPrivat'] . "</td></tr>";
  echo "                          <tr><td width='60px'><p>Arbeit</p></td><td>" . $patient['patientTelefonArbeit'] . "</td></tr>";
  echo "                          <tr><td width='60px'><p>Mobil</p></td><td>" . $patient['patientTelefonMobil'] . "</td></tr>";
  echo "                          <tr><td width='60px'><p>Fax</p></td><td>" . $patient['patientTelefonFax'] . "</td></tr>";
  echo "                          <tr><td><p>E-Mail</p></td><td>" . $patient['patientEmail'] . "</td></tr>";
  echo "                        </table>";
  echo "                      </li>";
  echo "                      <li>";
  echo "                        <table>";
  echo "                          <tr><td width='100px'><p>Geburtsdatum</p></td><td>" . $patient['patientGeburtsdatum'] . "</td></tr>";
  echo "                        </table>";
  echo "                      </li>";
  echo "                      <li>";
  echo "                        <table>";
  echo "                          <tr><td><p>Notizen</p></td></tr>";
  echo "                          <tr><td>" . $patient['patientNotizen'] . "</td></tr>";
  echo "                        </table>";
  echo "                      </li>";
?>

